package com.xiao.hao.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiao.hao.constant.SuperEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * @Description 用户既往史 实体类层
 * @Author xiaohao
 * @Date 2025-03-05 17:23:15
 */
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName(value = "xh_user_past_history", autoResultMap = true)
public class XhUserPastHistory extends SuperEntity {
    @ApiModelProperty("主键id")
    @TableId("user_past_history_id")
    private Long id;

    @ApiModelProperty("用户主键id")
    @TableField("user_info_file_id")
    private Long userInfoFileId;

    @ApiModelProperty("既往疾病")
    @TableField("previous_illnesses")
    private Integer previousIllnesses;

    @ApiModelProperty("手术情况")
    @TableField("surgical_situation")
    private Integer surgicalSituation;

    @ApiModelProperty("食物药物过敏")
    @TableField("food_allergy")
    private Integer foodAllergy;

}



